package com.sskj.gocoin.m.bean;

import com.sskj.gocoin.utils.TimeFormatUtil;

import java.util.Date;

public class FabiPublishListBean {

    /**
     * id : 6
     * order_no : 15306159738586809165
     * trans_num : 11.0000
     * deals_num : 0.0000
     * totalprice : 220.00
     * price : 20.00
     * status : 1
     * add_time : 1530615973
     */

    private String id;
    private String order_no;
    private String trans_num;
    private String deals_num;
    private String totalprice;
    private String price;
    private String status;
    private String add_time;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrder_no() {
        return order_no;
    }

    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    public String getTrans_num() {
        return trans_num;
    }

    public void setTrans_num(String trans_num) {
        this.trans_num = trans_num;
    }

    public String getDeals_num() {
        return deals_num;
    }

    public void setDeals_num(String deals_num) {
        this.deals_num = deals_num;
    }

    public String getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(String totalprice) {
        this.totalprice = totalprice;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getAdd_time() {
        return TimeFormatUtil.SF_FORMAT_F.format(new Date(Long.valueOf(add_time) * 1000));
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }
}
